<?php
/**
 * Created by PhpStorm.
 * @author: 汤文辉
 * @since:2017/6/13 13:57
 * 删除购物车中的图书，并将相关订单中的图书记录删除
 */
include_once 'config/mysqlconfig.php';
include 'class/Book_Cart.php';
    $book_id = $_GET['book_id'];
    $book = new Book_Cart($con);
    $book->delete($book_id);
    $con->close();


